#pragma once

#include <cstdint>
#include <windows.h>

void ConvertFftwToComplex(uint32_t width, uint32_t height, const float* ptrPacked, float* ptrDest, uint32_t destStride);

class CStopWatch
{
private:
	LARGE_INTEGER start;
	LARGE_INTEGER stop;
	LARGE_INTEGER frequency;

	double LIToSecs(LARGE_INTEGER & L);
public:
	CStopWatch();
	void startTimer();
	void stopTimer();
	double getElapsedTime();
};